package com.artifact.mit.mypoint.model.api;

import java.io.Serializable;

import org.codehaus.jackson.annotate.JsonProperty;

public class User implements Serializable {
	
	private static final long serialVersionUID = -6932754744625828385L;

	@JsonProperty(value = "Token")
	private String token;
	
	@JsonProperty(value = "UserProfile")
	private UserProfile userProfile;
	
	public User() {
		
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public UserProfile getUserProfile() {
		return userProfile;
	}

	public void setUserProfile(UserProfile userProfile) {
		this.userProfile = userProfile;
	}

	public static class UserProfile {
		
		@JsonProperty(value = "ID")
		private String id;

		@JsonProperty(value = "MemberID")
		private String memberId;

		@JsonProperty(value = "MemberUserId")
		private String memberUserId;

		@JsonProperty("UserName")
		private String username;

		@JsonProperty("UserFullName")
		private String fullName;

		@JsonProperty("UserAddress1")
		private String address1;

		@JsonProperty("UserAddress2")
		private String address2;

		@JsonProperty("UserCity")
		private String city;

		@JsonProperty("UserProvince")
		private String province;

		@JsonProperty("UserCountry")
		private String country;

		@JsonProperty("UserPostCode")
		private String postCode;

		@JsonProperty("UserPhoneMobile")
		private String mobilePhone;

		@JsonProperty("UserPhoneHome")
		private String phoneHome;

		@JsonProperty("UserPhoneWork")
		private String phoneWork;

		@JsonProperty("UserFax")
		private String fax;

		@JsonProperty("UserPinBB")
		private String pinBB;

		@JsonProperty("UserEmail1")
		private String email;

		@JsonProperty("UserEmail2")
		private String email2;

		@JsonProperty("Active")
		private String active;

		@JsonProperty("ActiveDate")
		private String activeDate;

		@JsonProperty("UrlImage")
		private String image;

		@JsonProperty("UrlTarget")
		private String urlTarget;

		@JsonProperty("UserType")
		private String userType;

		@JsonProperty("TimeStamp")
		private String timeStamp;

		@JsonProperty("User")
		private String user;

		public UserProfile() {

		}

		public UserProfile(String id, String memberId, String memberUserId,
				String username, String fullName, String address1, String address2,
				String city, String country, String postCode, String mobilePhone,
				String phoneHome, String phoneWork, String fax, String pinBB,
				String email, String email2, String active, String image,
				String urlTarget, String userType, String timeStamp, String user) {
			this.id = id;
			this.memberId = memberId;
			this.memberUserId = memberUserId;
			this.username = username;
			this.fullName = fullName;
			this.address1 = address1;
			this.address2 = address2;
			this.city = city;
			this.country = country;
			this.postCode = postCode;
			this.mobilePhone = mobilePhone;
			this.phoneHome = phoneHome;
			this.phoneWork = phoneWork;
			this.fax = fax;
			this.pinBB = pinBB;
			this.email = email;
			this.email2 = email2;
			this.active = active;
			this.image = image;
			this.urlTarget = urlTarget;
			this.userType = userType;
			this.timeStamp = timeStamp;
			this.user = user;
		}

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public String getMemberId() {
			return memberId;
		}

		public void setMemberId(String memberId) {
			this.memberId = memberId;
		}

		public String getMemberUserId() {
			return memberUserId;
		}

		public void setMemberUserId(String memberUserId) {
			this.memberUserId = memberUserId;
		}

		public String getUsername() {
			return username;
		}

		public void setUsername(String username) {
			this.username = username;
		}

		public String getFullName() {
			return fullName;
		}

		public void setFullName(String fullName) {
			this.fullName = fullName;
		}

		public String getAddress1() {
			return address1;
		}

		public void setAddress1(String address1) {
			this.address1 = address1;
		}

		public String getAddress2() {
			return address2;
		}

		public void setAddress2(String address2) {
			this.address2 = address2;
		}

		public String getCity() {
			return city;
		}

		public void setCity(String city) {
			this.city = city;
		}

		public String getCountry() {
			return country;
		}

		public void setCountry(String country) {
			this.country = country;
		}

		public String getPostCode() {
			return postCode;
		}

		public void setPostCode(String postCode) {
			this.postCode = postCode;
		}

		public String getMobilePhone() {
			return mobilePhone;
		}

		public void setMobilePhone(String mobilePhone) {
			this.mobilePhone = mobilePhone;
		}

		public String getPhoneHome() {
			return phoneHome;
		}

		public void setPhoneHome(String phoneHome) {
			this.phoneHome = phoneHome;
		}

		public String getPhoneWork() {
			return phoneWork;
		}

		public void setPhoneWork(String phoneWork) {
			this.phoneWork = phoneWork;
		}

		public String getFax() {
			return fax;
		}

		public void setFax(String fax) {
			this.fax = fax;
		}

		public String getPinBB() {
			return pinBB;
		}

		public void setPinBB(String pinBB) {
			this.pinBB = pinBB;
		}

		public String getEmail() {
			return email;
		}

		public void setEmail(String email) {
			this.email = email;
		}

		public String getEmail2() {
			return email2;
		}

		public String getActive() {
			return active;
		}

		public void setActive(String active) {
			this.active = active;
		}

		public void setEmail2(String email2) {
			this.email2 = email2;
		}

		public String getImage() {
			return image;
		}

		public void setImage(String image) {
			this.image = image;
		}

		public String getUrlTarget() {
			return urlTarget;
		}

		public void setUrlTarget(String urlTarget) {
			this.urlTarget = urlTarget;
		}

		public String getUserType() {
			return userType;
		}

		public void setUserType(String userType) {
			this.userType = userType;
		}

		public String getTimeStamp() {
			return timeStamp;
		}

		public void setTimeStamp(String timeStamp) {
			this.timeStamp = timeStamp;
		}

		public String getUser() {
			return user;
		}

		public void setUser(String user) {
			this.user = user;
		}

		public String getProvince() {
			return province;
		}

		public void setProvince(String province) {
			this.province = province;
		}

		public String getActiveDate() {
			return activeDate;
		}

		public void setActiveDate(String activeDate) {
			this.activeDate = activeDate;
		}
	}
	
}
